<?php
class SearchUsersWidget extends Widget{
	public function render($data){
		$data['grouplist'] = M('space_info')->where('uid='.intval($_SESSION['mid']))->field('colleaguegroup')->find();
		$data['grouplist'] = unserialize(  $data['grouplist']['colleaguegroup'] );
		$content = $this->renderFile(dirname(__FILE__)."/SearchUsers.html",$data);
		return $content;
	}
}
?>